package com.ftd.config;

/**
 * Created by apple on 2016/12/9.
 */
public enum  PageType {
    图书列表("booklist",0),
    我借的书("mybook",1),
    账户管理("my",2),
    登录("login",3),
    注册("register",4);

    private String name;
    private int index;

    private PageType(String name, int index) {
        this.name = name;
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }
}
